/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2016-2018. All rights reserved.
 * Description: Signature Verify CBB Library
 * Author: yebin
 * Create: 2016
 * History: 2018/12/12 new
 */
#ifndef H_CMS_VERIFY_H
#define H_CMS_VERIFY_H
#include "../cmscbb_common/cmscbb_def.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

typedef enum {
    CMSCBB_P7_TYPE_TS = 0,
    CMSCBB_P7_TYPE_VOUCHER = 1,
    CMSCBB_P7_TYPE_CODE = 2,
} CmscbbP7TypeUsage;

/*
 * Prototype    : InternalFreeMdInfo
 * Description  : free CMSCBB_VERIFY_DIGEST_INFO
 * Params
 *   [IN] digestInfo: verify digest info
 * Return Value : CVB_VOID
 *   Date              Author     Modification
 *   2015/11/10 14:52  tangzonglei  Create
 */
CVB_STATIC CVB_VOID InternalFreeMdInfo(CmscbbVerifyDigestInfo* digestInfo);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* H_CMS_VERIFY_H */
